//
//  KYSportMainVC.m
//  kyysprot
//
//  Created by HongYi on 2017/7/1.
//  Copyright © 2017年 kcvly. All rights reserved.
//

#import "KYSportMainVC.h"

#import "KYSportingVC.h"
#import "KYSportTracking.h"

@interface KYSportMainVC ()

@end

@implementation KYSportMainVC

- (IBAction)startSport:(UIButton *)sender {
    KYSportType type = sender.tag;
    KYSportingVC *vc = [KYSportingVC xx_instantiateFromStoryboardNamed:@"KYSportingVC"];
    vc.sportType = type;
    [self presentViewController:vc animated:YES completion:nil];
}

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
